using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace KodeIT.Web.Registration
{
    internal static class NativeMethods
    {
        [DllImport("metalib.dll", CharSet = CharSet.Ansi, SetLastError = true)]
        internal extern static bool AddIsapiFilter(string metaPath, string isapiName, string isapiPath);

        [DllImport("metalib.dll", CharSet = CharSet.Ansi, SetLastError = true)]
        internal extern static bool RemoveIsapiFilter(string metaPath, string isapiName);
    }
}
